<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://localhost:8080/servlet/checkServlet" target="_blank"  method="post">
    <h1>注册</h1>
    账号<input type="text" name="username"><br>
    密码<input type="password" name="pwd"><br><br>
    请选择你的爱好:
    <input type="checkbox" name="hobby" value="zq">足球
    <input type="checkbox" name="hobby" value="lq">篮球
    <input type="checkbox" name="hobby" value="ppq">乒乓球
    <br><br>
    <input type="submit" value="注册">
</form>
</body>
</html>